﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;

using DQYT.HTDZ.BLL;
using DQYT.HTDZ.Model;

namespace DQYT.HTDZ.Web.BDGQ
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string GQID= strid;
					ShowInfo(GQID);
				}
			}
		}
		
	private void ShowInfo(string GQID)
	{
		BDGQBLL bll=new BDGQBLL();
		BDGQModel model=bll.GetModel(GQID);
		this.lblGQID.Text=model.GQID;
		this.lblGQMC.Text=model.GQMC;
		this.lblGQLX.Text=model.GQLX;
		this.lblSSDCBH.Text=model.SSDCBH;
		this.lblQK.Text=model.QK;
		this.lblSFYTZX.Text=model.SFYTZX.ToString();
		this.lblZXWD.Text=model.ZXWD.ToString();
		this.lblZXJD.Text=model.ZXJD.ToString();

	}


    }
}
